package com.csx.base.concurrency.atomic;

import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicStampedReference;

/**
 * <p> what does this class do ? </p>
 *   该案例为 AtomicStampedReference 类的使用,
 *   该类可以解决 CAS中常见的ABA问题
 *   描述:
 *
 * <p> How does it work ?</p>
 * <p> Why does it do this ?</p>
 *
 * @author cuisongxu
 * @date 2024/12/3 周二 15:19
 */

// 由于暂时不清楚实际的应用场景，故此案例暂时不编写
@Deprecated
public class AtomicStampedReferenceTest {

    private final AtomicInteger atomicInteger = new AtomicInteger(100);

    private final AtomicStampedReference<Integer> atomicStampedReference = new AtomicStampedReference<>(100, 0);


}
